package com.biz.primus.ms.promotion.service.promotion;

import com.biz.primus.base.vo.PageVo;
import com.biz.primus.common.vo.SpringPageVO;
import com.biz.primus.model.promotion.vo.LuckyOrderPromotionVo;

/**
 * 下单有礼管理Service
 *
 * @author david-liu
 */
public interface LuckyOrderPromotionManagementService {

    /**
     * 更新下单有礼促销
     *
     * @param vo 下单有礼促销Vo
     * @return Boolean
     */
    Boolean updateLuckyOrderPromotion(LuckyOrderPromotionVo vo);

    /**
     * 获取下单有礼促销
     *
     * @param pageVo 分页Vo
     * @return 分页对象
     */
    SpringPageVO<LuckyOrderPromotionVo> getLuckyOrderPromotions(PageVo pageVo);

    /**
     * 获取下单有礼促销
     *
     * @param promotionId 促销ID
     * @return 下单有礼促销Vo
     */
    LuckyOrderPromotionVo getLuckyOrderPromotion(Long promotionId);

    /**
     * 切换下单有礼促销状态
     *
     * @param promotionId 促销ID
     * @return Boolean
     */
    Boolean toggleLuckyOrderPromotionStatus(Long promotionId);

}
